#include<stdio.h>
#include<sys/types.h>
#include<unistd.h>
#include<string.h>
int main(int argc,char* argv[])
{
  if(argc != 2)
  {
     printf("please input right command!,for example:./myprocess -[a,b,c,d]\n");
     return -1;
  }
  else if(strcmp(argv[1],"-a")==0)
  {
    printf("this is function1\n");
  }
  else if(strcmp(argv[1],"-b")==0)
  {
    printf("this is function2\n");

  }
  else if(strcmp(argv[1],"-c")==0)
  {
    printf("this is function3\n");
  }
  else if(strcmp(argv[1],"-d")==0)
  {
    printf("this is function4\n");
  }
  else 
  {
    printf("inout command error!\n");
  }
  return 0;
}
